home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / queue.xml < prev    next >
Text File  |  2002-08-30  |  4KB  |  101 lines

  1. <search function="que">
  2.   <name>Queue</name>
  3.   <description>
  4.     Interface with Queue (requires Queue account and login w/cookies)<br/>
  5.     <div class="helpboxDescLabels">Switches:</div>
  6.       <table class="helpboxDescTable">
  7.         <tr><td>/search</td><td> - </td><td>Search your Queue Data Stores</td></tr>
  8.         <tr><td>/add</td><td> - </td><td>Add an Entry to a Queue Data Store</td></tr>
  9.         <tr><td>/push</td><td> - </td><td>Push a page to your personal Queue</td></tr>
  10.         <tr><td>/pop</td><td> - </td><td>Pop a page from your personal Queue</td></tr>
  11.         <tr><td>/task</td><td> - </td><td>Create a new task for your personal Queue</td></tr>
  12.       </table>
  13.     <div class="helpboxDescLabels">Examples:</div>
  14.     <table class="helpboxDescTable">
  15.       <tr><td>que /search Taliban</td></tr>
  16.       <tr><td>que /add Beth 455-4564</td></tr>
  17.       <tr><td>que /push http://www.google.com/</td></tr>
  18.       <tr><td>que /pop</td></tr>
  19.       <tr><td>que /task Pick up clothes from dry cleaner</td></tr>
  20.     </table>
  21.   </description>
  22.   <category>Reference</category>
  23.   <link>http://www.irondust.com/queue/</link>
  24.   <contributor>Nick Tornow</contributor>
  25.   <email>irondust@hotmail.com</email>
  26.   
  27.   <form name="qSearchForm"
  28.         action="http://www.irondust.com/queue/db_searchStores.asp"
  29.         method="get">
  30.     <input type="hidden" name="searchterms"/>
  31.   </form>
  32.   <form name="qAddForm"
  33.         action="http://www.irondust.com/queue/db_addToStore.asp"
  34.         method="get">
  35.     <input type="hidden" name="entry"/>
  36.     <input type="hidden" name="treat_as_text" value="1"/>
  37.   </form>
  38.   <form name="qPushForm"
  39.         action="http://www.irondust.com/queue/db_pushPage.asp"
  40.         method="get">
  41.     <input type="hidden" name="PageToPush"/>
  42.     <input type="hidden" name="autoclose" value="no"/>
  43.     <input type="hidden" name="hideback" value="1"/>
  44.   </form>
  45.   <form name="qPopForm"
  46.         action="http://www.irondust.com/queue/db_popPage.asp"
  47.         method="get">
  48.   </form>
  49.   <form name="qTaskForm"
  50.         action="http://www.irondust.com/queue/db_newTask.asp"
  51.         method="get">
  52.     <input type="hidden" name="TaskText"/>
  53.     <input type="hidden" name="autoclose" value="no"/>
  54.     <input type="hidden" name="hideback" value="1"/>
  55.   </form>
  56.   <script><![CDATA[
  57.     function que(q)
  58.     {
  59.       if ( nullArgs("que", q) ) {
  60.         return false;
  61.       }
  62.       var posted = false;
  63.       var args = parseArgs(q, "search, add, push, pop, task");
  64.       if (args.switches.length > 0) {
  65.         switch (args.switches[0].name) {
  66.           case "add":
  67.             document.qAddForm.entry.value = args.q;
  68.             posted = true;
  69.             submitForm(qAddForm);
  70.             break;
  71.           case "push":
  72.             document.qPushForm.PageToPush.value = args.q;
  73.             submitForm(qPushForm);
  74.             posted = true;
  75.             break;
  76.           case "pop":
  77.             submitForm(qPopForm);
  78.             posted = true;
  79.             break;
  80.           case "task":
  81.             document.qTaskForm.TaskText.value = args.q;
  82.             submitForm(qTaskForm);
  83.             posted = true;
  84.             break;
  85.         }  //switch
  86.       }  //if
  87.       //default is searching Data Stores
  88.       if (!posted) {
  89.             document.qSearchForm.searchterms.value = args.q;
  90.             submitForm(qSearchForm);
  91.       }  //if
  92.     } //function
  93.   ]]></script>
  94.  
  95.   <copyright>
  96.     Copyright (c) 2002 David Bau
  97.     Distributed under the terms of the
  98.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  99.   </copyright>
  100. </search>
  101.